<?php
/*if (Configure::read('debug') == 0):
	throw new NotFoundException();
endif;*/
App::uses('Debugger', 'Utility');
?>

<?php
if (Configure::read('debug') > 0):
	Debugger::checkSecurityKeys();
endif;
?>
<div id="searchContainer">
	<div class="searchArea">
		<h3>Buscar por Cliente</h3>
		<?php echo $this->Form->create('Client',array('action'=>'search', 'type'=>'get')); ?>
			<?php
				echo $this->Form->input('nombre');
				echo $this->Form->input('cedula',array('label'=>'CI/RUC'));
			?>
		<?php echo $this->Form->end(__('Buscar')); ?>
		<?php echo $this->html->link('Ver todo',array('controller'=>'clients','action'=>'index'),array('class'=>'buttonSearch'));?>
		<?php echo $this->html->link('Nuevo Cliente',array('controller'=>'clients','action'=>'add'),array('class'=>'buttonSearch'));?>
	</div>
	
	<div class="searchArea">
		<h3>Buscar por Vehiculo</h3>
		<?php echo $this->Form->create('Car',array('action'=>'search', 'type'=>'get')); ?>
			<?php
				echo $this->Form->input('marca');
				echo $this->Form->input('chapa');
			?>
		<?php echo $this->Form->end(__('Buscar')); ?>
		<?php echo $this->html->link('Ver todo',array('controller'=>'cars','action'=>'index'),array('class'=>'buttonSearch'));?>
	</div>
	
	<div class="searchArea">
		<h3>Buscar por Servicio</h3>
		<?php echo $this->Form->create('Service',array('action'=>'search')); ?>
			<?php
				echo $this->Form->input('numServicio');
			?>
		<?php echo $this->Form->end(__('Buscar')); ?>
		<?php echo $this->html->link('Ver todo',array('controller'=>'services','action'=>'index'),array('class'=>'buttonSearch'));?>
	</div>
	


</div>